package com.lcp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * @Description
 * @Author 李 楚鹏
 * @Date 2024/12/18 下午5:23
 **/
@Controller
public class LoginController {
    @RequestMapping("/aa")
    public ModelAndView login(){
        ModelAndView mv = new ModelAndView("login");
        mv.getModel().put("name","张三");
        mv.getModel().put("sex","男");
        return mv;
    }
}